﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class HRdep
    {
        static public void c_HaveSomeWork(object sender, ClientEventArgs e)
        {
            JavaConcrete JF = new JavaConcrete();
            DotNetConcrete DNF = new DotNetConcrete();

            Team Jteam = new Team(JF);
            Team Cteam = new Team(DNF);

            Jteam.Add();
            Cteam.Add();

            Console.WriteLine(Jteam.ToString());
            Console.WriteLine(Cteam.ToString());
        }

        public void SpeakWithClient(Client c)
        {
            c.HaveSomeWork +=new Client.ClientEventHandler(c_HaveSomeWork);
 
        }

    }

}

